/*
 * Copyright (C) 2015 yixun All Rights Reserved.
 *
 * CustomerPremisesDto.java
 */
package com.yixun.qfbao.xf.model.dto;

import com.yixun.qfbao.xf.model.CustomerPremises;
import com.yixun.qfbao.xf.model.FollowUpList;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * [文件名称]<br>
 * CustomerPremisesDto.java<br>
 * <br>
 * [文件描述]<br>
 * 客户报备信息 数据辅助类<br>
 * <br>
 * [修改记录]<br>
 * 2015-10-14 15:34:13 创建 陶俊代码生成器<br>
 *
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class CustomerPremisesDto extends CustomerPremises {
	private static final long serialVersionUID = 1L;
	/**
	 * 需要正序字段名
	 */
	private List<String> asc;
	/**
	 * 需要逆序字段名
	 */
	private List<String> desc;
	/**
	 * 排序SQL
	 */
	private String orders;
	/**
	 * 楼盘ID
	 */
	private List<Long> reportIds;
	/**
	 * 楼盘ID，此条件是当作查询条件进行查找的，和置业顾问的关系相当于and
	 */
	private List<Long> premisesIds;
	
	/**
	 * 权限相关的楼盘ID，此条件和置业顾问是or的关系
	 */
	private List<Long> authorityPremisesIds;
	
	/**
	 * 楼盘名称
	 */
	private String premisesName;
	
	/**
	 * 非置业顾问楼盘
	 */
	private List<Long> bindPremisesIds;
	
	/**
	 * 置业顾问楼盘
	 */
	private List<Long> notBindPremisesIds;

	/**
	 * 开发商
	 */
	private String buildingCompany;
	/**
	 * 楼盘地址
	 */
	private String premisesAddress;

	/**
	 * 是否绑定该楼盘
	 * 绑定楼盘可查看全部报备
	 * 非绑定楼盘属于临时绑定,录入置业顾问.
	 * 	获取报备数据仅限于被指定为置业顾问的那几条数据
	 */
	private boolean bindFlag;

	/**
	 * 状态集合
	 */
	private List<String> customerStatusList;
    /**
     * 经纪人ID集合
     */
	private List<Long> partnerIds;

	/**
	 *  推荐人集合
	 */
	private List<String> recommenderUuids;

	private List<String> adviserUuids;

	/**
	 *  到访状态
	 */
	@ApiModelProperty("到访状态")
	private String visitState;

	/**
	 * 渠道商公司id
	 */
	@ApiModelProperty("渠道商公司id")
	private Long devCompanyId;

	private List<Long> recommenderIds;

	private String startDate;

	private String endDate;

	//有效数据校验（是否过滤全是0的数据）
	private boolean validateData;

	private Integer pageNum;

	private Integer pageSize;

	/**
	 *
	 */
	@ApiModelProperty("是否展示全号")
	private Boolean showFullNumber;

	@ApiModelProperty("是否隐藏经纪人号码")
	private Boolean hideAgentPhone;

	public Boolean getShowFullNumber() {
		return showFullNumber;
	}

	public void setShowFullNumber(Boolean showFullNumber) {
		this.showFullNumber = showFullNumber;
	}

	public Boolean getHideAgentPhone() {
		return hideAgentPhone;
	}

	public void setHideAgentPhone(Boolean hideAgentPhone) {
		this.hideAgentPhone = hideAgentPhone;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public List<Long> getRecommenderIds() {
		return recommenderIds;
	}

	public void setRecommenderIds(List<Long> recommenderIds) {
		this.recommenderIds = recommenderIds;
	}

	public Long getDevCompanyId() {
		return devCompanyId;
	}

	public void setDevCompanyId(Long devCompanyId) {
		this.devCompanyId = devCompanyId;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public boolean isValidateData() {
		return validateData;
	}

	public void setValidateData(boolean validateData) {
		this.validateData = validateData;
	}

	@Override
	public String getVisitState() {
		return visitState;
	}

	@Override
    public void setVisitState(String visitState) {
		this.visitState = visitState;
	}

	public List<String> getRecommenderUuids() {
		return recommenderUuids;
	}

	public void setRecommenderUuids(List<String> recommenderUuids) {
		this.recommenderUuids = recommenderUuids;
	}

	public List<String> getAdviserUuids() {
		return adviserUuids;
	}

	public void setAdviserUuids(List<String> adviserUuids) {
		this.adviserUuids = adviserUuids;
	}

	public List<Long> getPartnerIds() {
        return partnerIds;
    }

    private List<Long> staffIds;

	// 渠道经理名下机构的所有经纪人
	private List<List<Long>> principalStaffIds;

	public List<Long> getStaffIds() {
		return staffIds;
	}

	public void setStaffIds(List<Long> staffIds) {
		this.staffIds = staffIds;
	}

	public List<List<Long>> getPrincipalStaffIds() {
		return principalStaffIds;
	}

	public void setPrincipalStaffIds(List<List<Long>> principalStaffIds) {
		this.principalStaffIds = principalStaffIds;
	}

	public void setPartnerIds(List<Long> partnerIds) {
        this.partnerIds = partnerIds;
    }

    //期望带看时间
	@ApiModelProperty("期望带看时间")
	private String formatHopeVisitTime;
	public String getFormatHopeVisitTime() {
		return formatHopeVisitTime;
	}

	public void setFormatHopeVisitTime(String formatHopeVisitTime) {
		this.formatHopeVisitTime = formatHopeVisitTime;
	}

	private BigDecimal totalAmount;
	private BigDecimal hasbalance;
	private BigDecimal hasnobalance;
	// 报备数量
	private Integer reportCount;
	private String nopremises;
	private String premisesDate;
	//查询申诉信息
	//只要不为空,xml中Sql语句添加以下条件
	//添加申诉次数 > 0 的条件过滤
	private String appealSearch;
	//根据姓名及手机号做模糊查询
	private String searchContent;
	//新增客户日期
	private String customerDate;
	//自定义sql条件
	private String sql;
	//新增客户日期
	private String AppealDate;
	//结佣日期
	private String jieYongDate;
	//id集合
	private List<String> customerIds;
	//报备人姓名
	private String staffName;
	//案场人员姓名
	private String assistantName;
	//对接人姓名
	private String principalName;
	//报备类型
	private String reportType;
	//经纪人手机号
	private String staffPhone;
	//案场人员手机号
	private String assistantPhone;
	//对接人手机号
	private String principalPhone;
	//当前状态（报备，交易，佣金）
	private String currentStatus;
	//用于控制前端亮灯数
	private String index;
	//性别中文名
	private String genderCN;
	//成交房间套数
	private String dealNum;
	/**
	 * 佣金比例
	 */
	private BigDecimal commissionRate;
	/**
	 * 待结算日期
	 */
	private String pendSettleDate;
	/**
	 * 带结算佣金总额
	 */
	private String pendCommissionAmount;
	/**
	 * 待结算日期前置条件
	 */
	private Date pendSettleDateBefore;
	/**
	 * 待结算日期后置条件
	 */
	private Date pendSettleDateAfter;

	/**
	 * 跟进记录
	 */
	@ApiModelProperty("跟进记录")
	private List<FollowUpList> fulList;
	/**
	 * 当前状态值
	 */
	private Map<String,String> currentStatusMap;

	private List<CustomerPremisesAffixDto> affixList;

    /**
     * 报备类型： 1-案场代报备；2-经纪人报备
     */
    private String reportUserType;

	/**
	 * 近期带看客户数
	 */
	private Integer reportCountRecent;
	/**
	 * 近期成交报备数
	 */
	private Integer cpPremisesCountRecent;
	/**
	 * 近期待结佣金记录条数
	 */
	private Integer hasNoBalanceCountRecent;

	public Integer getReportCountRecent() {
		return reportCountRecent;
	}

	public void setReportCountRecent(Integer reportCountRecent) {
		this.reportCountRecent = reportCountRecent;
	}

	public Integer getCpPremisesCountRecent() {
		return cpPremisesCountRecent;
	}

	public void setCpPremisesCountRecent(Integer cpPremisesCountRecent) {
		this.cpPremisesCountRecent = cpPremisesCountRecent;
	}

	public Integer getHasNoBalanceCountRecent() {
		return hasNoBalanceCountRecent;
	}

	public void setHasNoBalanceCountRecent(Integer hasNoBalanceCountRecent) {
		this.hasNoBalanceCountRecent = hasNoBalanceCountRecent;
	}

	public String getReportUserType() {
        return reportUserType;
    }

    public void setReportUserType(String reportUserType) {
		this.reportUserType = reportUserType;
	}
     /**
     * 日期维度：1-日，2-周，3-月
     */
    @ApiModelProperty("日期维度：1-日，2-周，3-月")
    private String dimension;

    public String getDimension() {
        return dimension;
    }

    public void setDimension(String dimension) {
        this.dimension = dimension;
    }

    public Map<String, String> getCurrentStatusMap() {
		return currentStatusMap;
	}

	public void setCurrentStatusMap(Map<String, String> currentStatusMap) {
		this.currentStatusMap = currentStatusMap;
	}

	public List<FollowUpList> getFulList() {
		return fulList;
	}

	public void setFulList(List<FollowUpList> fulList) {
		this.fulList = fulList;
	}

	/**
	 * 带看奖是否显示（true 显示，false 不显示）
	 */
    private boolean rewardFlag;
	public boolean isRewardFlag() {
		return rewardFlag;
	}

	public void setRewardFlag(boolean rewardFlag) {
		this.rewardFlag = rewardFlag;
	}

	/**
	 * 现金奖，成交奖
	 */
	private String dealType;

	public String getDealType() {
		return dealType;
	}

	public void setDealType(String dealType) {
		this.dealType = dealType;
	}

	/**
	 * 待结算日期
	 */
	private Date settlementDate;
	/**
	 * 结算周期
	 */
	private String settlementCycle;
	public String getSettlementCycle() {
		return settlementCycle;
	}

	public void setSettlementCycle(String settlementCycle) {
		this.settlementCycle = settlementCycle;
	}

	public Date getSettlementDate() {
		return settlementDate;
	}

	public void setSettlementDate(Date settlementDate) {
		this.settlementDate = settlementDate;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	//佣金中文名
	private String commissionName;
	private String formateUpdateTime;
	//成交奖
	private String dealAward;
	/**
	 * 结算周期
	 */
	private String settleCycle;

	/**
	 * 楼盘信息状态值
	 */
	private String premisesDelFlag;
    /**
     * 搜索时间类型
     * {@link com.yixun.qfbao.model.enums.TimeTypeEnum}
     */
	private String timeType;

	private String companyUuid;

	private String recommenderUuid;

	private String recommenderDeptName;

	private String recommenderName;

	private String recommenderPhone;

    public String getCompanyUuid() {
        return companyUuid;
    }

    public void setCompanyUuid(String companyUuid) {
        this.companyUuid = companyUuid;
    }

    public String getDealAward() {
		return dealAward;
	}

	public void setDealAward(String dealAward) {
		this.dealAward = dealAward;
	}

	public String getCommissionName() {
		return commissionName;
	}

	public void setCommissionName(String commissionName) {
		this.commissionName = commissionName;
	}

	public String getGenderCN() {
		return genderCN;
	}

	public void setGenderCN(String genderCN) {
		this.genderCN = genderCN;
	}

	public String getCurrentStatus() {
		return currentStatus;
	}

	public void setCurrentStatus(String currentStatus) {
		this.currentStatus = currentStatus;
	}

	public String getStaffPhone() {
		return staffPhone;
	}

	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}

	public String getAssistantPhone() {
		return assistantPhone;
	}

	public void setAssistantPhone(String assistantPhone) {
		this.assistantPhone = assistantPhone;
	}

	public String getPrincipalPhone() {
		return principalPhone;
	}

	public void setPrincipalPhone(String principalPhone) {
		this.principalPhone = principalPhone;
	}

	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getAssistantName() {
		return assistantName;
	}

	public void setAssistantName(String assistantName) {
		this.assistantName = assistantName;
	}

	public String getPrincipalName() {
		return principalName;
	}

	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}

	/**
	 * 添加需要正序字段名
	 */
	public void addAsc(String col) {
		if (asc == null) {
			asc = new LinkedList<String>();
		}
		asc.add(col);
	}

	/**
	 * 清空需要正序字段名
	 */
	public void cleanAsc() {
		asc = null;
	}

	/**
	 * 添加需要逆序字段名
	 */
	public void addDesc(String col) {
		if (desc == null) {
			desc = new LinkedList<String>();
		}
		desc.add(col);
	}

	/**
	 * 清空需要逆序字段名
	 */
	public void cleanDesc() {
		desc = null;
	}

	private String visitProtect;

	private String visitProtectType;

	/**
	 * 如果排序SQL为空根据需要正逆序的字段名拼接排序SQL
	 */
	public String getOrders() {
		StringBuilder orderStr = null;
		StringBuilder ascStr;
		StringBuilder descStr;
		if (orders == null) {
			if (asc != null) {
				ascStr = new StringBuilder();
				orderStr = new StringBuilder();
				String pex = "";
				for (String a : asc) {
					ascStr.append(pex + a);
					pex = ",";
				}
				orderStr.append(ascStr.toString() + " ASC");
			}
			if (desc != null) {
				descStr = new StringBuilder();
				String pex = "";
				for (String d : desc) {
					descStr.append(pex + d);
					pex = ",";
				}
				if (orderStr == null) {
					orderStr = new StringBuilder();
					orderStr.append(descStr.toString() + " DESC");
				} else {
					orderStr.append("," + descStr.toString() + " DESC");
				}
			}
			orders = orderStr != null ? orderStr.toString() : null;
		}

		return orders;
	}

	/**
	 * 设置排序SQL
	 */
	public void setOrders(String orders) {
		this.orders = orders;
	}

	private Date updateTimeBefore;
	private Date updateTimeAfter;
	private Date createTimeBefore;
	private Date createTimeAfter;
	private Date reportPeriodTimeBefore;
	private Date reportPeriodTimeAfter;
	private Date lookPeriodTimeBefore;
	private Date lookPeriodTimeAfter;
	private Date appealTimeBefore;
	private Date appealTimeAfter;
	private Date visitProtectTimeBefore;
	private Date visitProtectTimeAfter;
	private Date visitBaohuTimeBefore;
	private Date visitBaohuTimeAfter;
	private Date hopeVisitTimeBefore;
	private Date hopeVisitTimeAfter;
	private Date visitPastTimeBefore;
	private Date visitPastTimeAfter;
	private Date lastCheckTimeBefore;
	private Date lastCheckTimeAfter;
	private Date reportValidTimeBefore;
	private Date reportValidTimeAfter;
	// 到访起始时间
	private Date visitTimeBefore;
	// 认筹起始时间
	private Date payDepositTimeBefore;
	// 认购起始时间
	private Date subscribeTimeBefore;
	// 签约起始时间
	private Date signTimeBefore;

	public Date getUpdateTimeBefore() {
		return this.updateTimeBefore;
	}

	public void setUpdateTimeBefore(Date updateTimeBefore) {
		this.updateTimeBefore = updateTimeBefore;
	}

	public Date getUpdateTimeAfter() {
		return this.updateTimeAfter;
	}

	public void setUpdateTimeAfter(Date updateTimeAfter) {
		this.updateTimeAfter = updateTimeAfter;
	}

	public Date getCreateTimeBefore() {
		return this.createTimeBefore;
	}

	public void setCreateTimeBefore(Date createTimeBefore) {
		this.createTimeBefore = createTimeBefore;
	}

	public Date getCreateTimeAfter() {
		return this.createTimeAfter;
	}

	public void setCreateTimeAfter(Date createTimeAfter) {
		this.createTimeAfter = createTimeAfter;
	}

	public List<Long> getReportIds() {
		return reportIds;
	}

	public void setReportIds(List<Long> reportIds) {
		this.reportIds = reportIds;
	}

	public String getBuildingCompany() {
		return buildingCompany;
	}

	public void setBuildingCompany(String buildingCompany) {
		this.buildingCompany = buildingCompany;
	}

	public String getPremisesAddress() {
		return premisesAddress;
	}

	public void setPremisesAddress(String premisesAddress) {
		this.premisesAddress = premisesAddress;
	}

	public List<Long> getPremisesIds() {
		return premisesIds;
	}

	public void setPremisesIds(List<Long> premisesIds) {
		this.premisesIds = premisesIds;
	}
	

	public List<Long> getBindPremisesIds() {
		return bindPremisesIds;
	}

	public void setBindPremisesIds(List<Long> bindPremisesIds) {
		this.bindPremisesIds = bindPremisesIds;
	}

	public List<Long> getNotBindPremisesIds() {
		return notBindPremisesIds;
	}

	public void setNotBindPremisesIds(List<Long> notBindPremisesIds) {
		this.notBindPremisesIds = notBindPremisesIds;
	}

	public boolean isBindFlag() {
		return bindFlag;
	}

	public void setBindFlag(boolean bindFlag) {
		this.bindFlag = bindFlag;
	}

	public List<String> getCustomerStatusList() {
		return customerStatusList;
	}

	public void setCustomerStatusList(List<String> customerStatusList) {
		this.customerStatusList = customerStatusList;
	}

	public Date getReportPeriodTimeBefore() {
		return reportPeriodTimeBefore;
	}

	public void setReportPeriodTimeBefore(Date reportPeriodTimeBefore) {
		this.reportPeriodTimeBefore = reportPeriodTimeBefore;
	}

	public Date getReportPeriodTimeAfter() {
		return reportPeriodTimeAfter;
	}

	public void setReportPeriodTimeAfter(Date reportPeriodTimeAfter) {
		this.reportPeriodTimeAfter = reportPeriodTimeAfter;
	}

	public Date getLookPeriodTimeBefore() {
		return lookPeriodTimeBefore;
	}

	public void setLookPeriodTimeBefore(Date lookPeriodTimeBefore) {
		this.lookPeriodTimeBefore = lookPeriodTimeBefore;
	}

	public Date getLookPeriodTimeAfter() {
		return lookPeriodTimeAfter;
	}

	public void setLookPeriodTimeAfter(Date lookPeriodTimeAfter) {
		this.lookPeriodTimeAfter = lookPeriodTimeAfter;
	}

	public Date getAppealTimeBefore() {
		return appealTimeBefore;
	}

	public void setAppealTimeBefore(Date appealTimeBefore) {
		this.appealTimeBefore = appealTimeBefore;
	}

	public Date getAppealTimeAfter() {
		return appealTimeAfter;
	}

	public void setAppealTimeAfter(Date appealTimeAfter) {
		this.appealTimeAfter = appealTimeAfter;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getHasbalance() {
		return hasbalance;
	}

	public void setHasbalance(BigDecimal hasbalance) {
		this.hasbalance = hasbalance;
	}

	public BigDecimal getHasnobalance() {
		return hasnobalance;
	}

	public void setHasnobalance(BigDecimal hasnobalance) {
		this.hasnobalance = hasnobalance;
	}

	public Integer getReportCount() {
		return reportCount;
	}

	public void setReportCount(Integer reportCount) {
		this.reportCount = reportCount;
	}

	public String getNopremises() {
		return nopremises;
	}

	public void setNopremises(String nopremises) {
		this.nopremises = nopremises;
	}

	public String getPremisesDate() {
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
		return super.getCreateTime() == null ? "" : dateFormat.format(super.getCreateTime());
	}

	public void setPremisesDate(String premisesDate) {
		this.premisesDate = premisesDate;
	}

	public String getAppealSearch() {
		return appealSearch;
	}

	public void setAppealSearch(String appealSearch) {
		this.appealSearch = appealSearch;
	}

	public String getSearchContent() {
		return searchContent;
	}

	public void setSearchContent(String searchContent) {
		this.searchContent = searchContent;
	}


	/*************扩展字段**************/
	/**
	 * 报备经纪人姓名
	 */
	@ApiModelProperty("报备经纪人姓名")
	private String agentName;
	/**
	 * 报备经纪人手机
	 */
	@ApiModelProperty("报备经纪人手机")
	private String agentMobile;
	/**
	 * 报备经纪人性别
	 */
	@ApiModelProperty("报备经纪人性别")
	private String agentGender;
	/**
	 * 公司名称
	 */
	@ApiModelProperty("公司名称")
	private String companyName;
	/**
	 * 经纪人所属公司名称
	 */
	@ApiModelProperty("经纪人所属公司名称")
	private String staffCompanyName;
	/**
	 * 经纪人所属门店名称
	 */
	@ApiModelProperty("经纪人所属门店名称")
	private String staffStoreName;
	/**
	 * 经纪人所属组别名称
	 */
	@ApiModelProperty("经纪人所属组别名称")
	private String staffGroupName;
	/**
	 * 经纪人所属部门名称
	 */
	@ApiModelProperty("经纪人所属部门名称")
	private String staffDepartmentName;
	/**
	 * 错误原因（用于批量导入报备客户）
	 */
	private String failure;
	public String getFailure() {
		return failure;
	}

	public void setFailure(String failure) {
		this.failure = failure;
	}

	public String getStaffCompanyName() {
		return staffCompanyName;
	}

	public void setStaffCompanyName(String staffCompanyName) {
		this.staffCompanyName = staffCompanyName;
	}

	/**
	 * 报备经纪人来源
	 * 中介、老业务、开发商经纪人等
	 */
	private String recordOrigin;
	/**
	 * 扩展条件
	 */
	private String extendCondition;

	private String storeOrGroup;
	/**
	 * 佣金总额
	 */
	private BigDecimal totalCommissionAmount;
	/**
	 * 结佣操作人姓名
	 */
	private String knotCommissionUserName;

	private List<String> customerPhones;

	/**
	 * 报备方式 0都不能看 1全号 2隐号 3全部都可以看
	 */
	private String roleReportWay;

	/**
	 * 结佣日期
	 */
	private Date actualDate;

	public Date getActualDate() {
		return actualDate;
	}

	public void setActualDate(Date actualDate) {
		this.actualDate = actualDate;
	}

	/**
	 * 有权限看的人
	 */
	private List<Long> canViewPartnerIds;
	/**
	 * 经纪公司Ids
	 */
	private List<Long> staffCompanyIds;
	/**
	 * 经纪公司部门Id
	 */
	private Long agencyDeptId;
	/**
	 * 经纪公司部门Ids
	 * 以部门Ids进行机构数据权限控制
	 * 减少进一步获取部门内所有人员的操作
	 */
	private List<Long> agencyDeptIds;

	/**
	 * 报备列表,按部门查询时,包含下级部门
	 */
	private List<Long> searchDeptIds;

	/**
	 * 被复制的次数
	 */
	@ApiModelProperty("被复制的次数")
	private Integer copyCount;

	public String getRoleReportWay() {
		return roleReportWay;
	}

	public void setRoleReportWay(String roleReportWay) {
		this.roleReportWay = roleReportWay;
	}

	public List<Long> getCanViewPartnerIds() {
		return canViewPartnerIds;
	}

	public void setCanViewPartnerIds(List<Long> canViewPartnerIds) {
		this.canViewPartnerIds = canViewPartnerIds;
	}

	public List<Long> getStaffCompanyIds() {
		return staffCompanyIds;
	}

	public void setStaffCompanyIds(List<Long> staffCompanyIds) {
		this.staffCompanyIds = staffCompanyIds;
	}

	public Long getAgencyDeptId() {
		return agencyDeptId;
	}

	public void setAgencyDeptId(Long agencyDeptId) {
		this.agencyDeptId = agencyDeptId;
	}

	public List<Long> getAgencyDeptIds() {
		return agencyDeptIds;
	}

	public void setAgencyDeptIds(List<Long> agencyDeptIds) {
		this.agencyDeptIds = agencyDeptIds;
	}

	public List<Long> getSearchDeptIds() {
		return searchDeptIds;
	}

	public void setSearchDeptIds(List<Long> searchDeptIds) {
		this.searchDeptIds = searchDeptIds;
	}

	public BigDecimal getTotalCommissionAmount() {
		return totalCommissionAmount;
	}

	public void setTotalCommissionAmount(BigDecimal totalCommissionAmount) {
		this.totalCommissionAmount = totalCommissionAmount;
	}

	public String getKnotCommissionUserName() {
		return knotCommissionUserName;
	}

	public void setKnotCommissionUserName(String knotCommissionUserName) {
		this.knotCommissionUserName = knotCommissionUserName;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getAgentMobile() {
		return agentMobile;
	}

	public void setAgentMobile(String agentMobile) {
		this.agentMobile = agentMobile;
	}

	public String getAgentGender() {
		return agentGender;
	}

	public void setAgentGender(String agentGender) {
		this.agentGender = agentGender;
	}

	public String getRecordOrigin() {
		return recordOrigin;
	}

	public void setRecordOrigin(String recordOrigin) {
		this.recordOrigin = recordOrigin;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCustomerDate() {
		return customerDate;
	}

	public void setCustomerDate(String customerDate) {
		this.customerDate = customerDate;
	}

	public String getExtendCondition() {
		return extendCondition;
	}

	public void setExtendCondition(String extendCondition) {
		this.extendCondition = extendCondition;
	}

	public Date getVisitProtectTimeBefore() {
		return visitProtectTimeBefore;
	}

	public void setVisitProtectTimeBefore(Date visitProtectTimeBefore) {
		this.visitProtectTimeBefore = visitProtectTimeBefore;
	}

	public Date getVisitProtectTimeAfter() {
		return visitProtectTimeAfter;
	}

	public void setVisitProtectTimeAfter(Date visitProtectTimeAfter) {
		this.visitProtectTimeAfter = visitProtectTimeAfter;
	}

	public Date getVisitBaohuTimeBefore() {
		return visitBaohuTimeBefore;
	}

	public void setVisitBaohuTimeBefore(Date visitBaohuTimeBefore) {
		this.visitBaohuTimeBefore = visitBaohuTimeBefore;
	}

	public Date getVisitBaohuTimeAfter() {
		return visitBaohuTimeAfter;
	}

	public void setVisitBaohuTimeAfter(Date visitBaohuTimeAfter) {
		this.visitBaohuTimeAfter = visitBaohuTimeAfter;
	}

	public Date getHopeVisitTimeBefore() {
		return hopeVisitTimeBefore;
	}

	public void setHopeVisitTimeBefore(Date hopeVisitTimeBefore) {
		this.hopeVisitTimeBefore = hopeVisitTimeBefore;
	}

	public Date getHopeVisitTimeAfter() {
		return hopeVisitTimeAfter;
	}

	public void setHopeVisitTimeAfter(Date hopeVisitTimeAfter) {
		this.hopeVisitTimeAfter = hopeVisitTimeAfter;
	}

	public Date getVisitPastTimeBefore() {
		return visitPastTimeBefore;
	}

	public void setVisitPastTimeBefore(Date visitPastTimeBefore) {
		this.visitPastTimeBefore = visitPastTimeBefore;
	}

	public Date getVisitPastTimeAfter() {
		return visitPastTimeAfter;
	}

	public void setVisitPastTimeAfter(Date visitPastTimeAfter) {
		this.visitPastTimeAfter = visitPastTimeAfter;
	}

	public Date getLastCheckTimeBefore() {
		return lastCheckTimeBefore;
	}

	public void setLastCheckTimeBefore(Date lastCheckTimeBefore) {
		this.lastCheckTimeBefore = lastCheckTimeBefore;
	}

	public Date getLastCheckTimeAfter() {
		return lastCheckTimeAfter;
	}

	public void setLastCheckTimeAfter(Date lastCheckTimeAfter) {
		this.lastCheckTimeAfter = lastCheckTimeAfter;
	}
	public Date getReportValidTimeBefore() {
		return reportValidTimeBefore;
	}

	public void setReportValidTimeBefore(Date reportValidTimeBefore) {
		this.reportValidTimeBefore = reportValidTimeBefore;
	}

	public Date getReportValidTimeAfter() {
		return reportValidTimeAfter;
	}

	public void setReportValidTimeAfter(Date reportValidTimeAfter) {
		this.reportValidTimeAfter = reportValidTimeAfter;
	}

	public String getSql() {
		return sql;
	}

	public String getFormateUpdateTime() {
		return formateUpdateTime;
	}

	public void setFormateUpdateTime(String formateUpdateTime) {
		this.formateUpdateTime = formateUpdateTime;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String getAppealDate() {
		return AppealDate;
	}

	public void setAppealDate(String appealDate) {
		AppealDate = appealDate;
	}

	public String getJieYongDate() {
		return jieYongDate;
	}

	public void setJieYongDate(String jieYongDate) {
		this.jieYongDate = jieYongDate;
	}

	public List<String> getCustomerIds() {
		return customerIds;
	}

	public void setCustomerIds(List<String> customerIds) {
		this.customerIds = customerIds;
	}


	public String getPremisesDelFlag() {
		return premisesDelFlag;
	}

	public void setPremisesDelFlag(String premisesDelFlag) {
		this.premisesDelFlag = premisesDelFlag;
	}

	public String getDealNum() {
		return dealNum;
	}

	public void setDealNum(String dealNum) {
		this.dealNum = dealNum;
	}

	public String getSettleCycle() {
		return settleCycle;
	}

	public void setSettleCycle(String settleCycle) {
		this.settleCycle = settleCycle;
	}

	public String getPendSettleDate() {
		return pendSettleDate;
	}

	public void setPendSettleDate(String pendSettleDate) {
		this.pendSettleDate = pendSettleDate;
	}

	public Date getPendSettleDateBefore() {
		return pendSettleDateBefore;
	}

	public void setPendSettleDateBefore(Date pendSettleDateBefore) {
		this.pendSettleDateBefore = pendSettleDateBefore;
	}

	public Date getPendSettleDateAfter() {
		return pendSettleDateAfter;
	}

	public void setPendSettleDateAfter(Date pendSettleDateAfter) {
		this.pendSettleDateAfter = pendSettleDateAfter;
	}

	public String getPendCommissionAmount() {
		return pendCommissionAmount;
	}

	public void setPendCommissionAmount(String pendCommissionAmount) {
		this.pendCommissionAmount = pendCommissionAmount;
	}

	public BigDecimal getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(BigDecimal commissionRate) {
		this.commissionRate = commissionRate;
	}

	public List<CustomerPremisesAffixDto> getAffixList() {
		return affixList;
	}

	public void setAffixList(List<CustomerPremisesAffixDto> affixList) {
		this.affixList = affixList;
	}

	public String getStaffStoreName() {
		return staffStoreName;
	}

	public void setStaffStoreName(String staffStoreName) {
		this.staffStoreName = staffStoreName;
	}

	public String getStaffGroupName() {
		return staffGroupName;
	}

	public void setStaffGroupName(String staffGroupName) {
		this.staffGroupName = staffGroupName;
	}

	public String getStaffDepartmentName() {
		return staffDepartmentName;
	}

	public void setStaffDepartmentName(String staffDepartmentName) {
		this.staffDepartmentName = staffDepartmentName;
	}

	public String getStoreOrGroup() {
		return storeOrGroup;
	}

	public void setStoreOrGroup(String storeOrGroup) {
		this.storeOrGroup = storeOrGroup;
	}

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

	public String getVisitProtect() {
		return visitProtect;
	}

	public void setVisitProtect(String visitProtect) {
		this.visitProtect = visitProtect;
	}

	public String getVisitProtectType() {
		return visitProtectType;
	}

	public void setVisitProtectType(String visitProtectType) {
		this.visitProtectType = visitProtectType;
	}

	public List<String> getCustomerPhones() {
		return customerPhones;
	}

	public void setCustomerPhones(List<String> customerPhones) {
		this.customerPhones = customerPhones;
	}

	public String getRecommenderUuid() {
		return recommenderUuid;
	}

	public void setRecommenderUuid(String recommenderUuid) {
		this.recommenderUuid = recommenderUuid;
	}

	public String getRecommenderDeptName() {
		return recommenderDeptName;
	}

	public void setRecommenderDeptName(String recommenderDeptName) {
		this.recommenderDeptName = recommenderDeptName;
	}

	public String getRecommenderName() {
		return recommenderName;
	}

	public void setRecommenderName(String recommenderName) {
		this.recommenderName = recommenderName;
	}

	public Integer getCopyCount() {
		return copyCount;
	}

	public void setCopyCount(Integer copyCount) {
		this.copyCount = copyCount;
	}

	public Date getVisitTimeBefore() {
		return visitTimeBefore;
	}

	public void setVisitTimeBefore(Date visitTimeBefore) {
		this.visitTimeBefore = visitTimeBefore;
	}

	public Date getPayDepositTimeBefore() {
		return payDepositTimeBefore;
	}

	public void setPayDepositTimeBefore(Date payDepositTimeBefore) {
		this.payDepositTimeBefore = payDepositTimeBefore;
	}

	public Date getSubscribeTimeBefore() {
		return subscribeTimeBefore;
	}

	public void setSubscribeTimeBefore(Date subscribeTimeBefore) {
		this.subscribeTimeBefore = subscribeTimeBefore;
	}

	public Date getSignTimeBefore() {
		return signTimeBefore;
	}

	public void setSignTimeBefore(Date signTimeBefore) {
		this.signTimeBefore = signTimeBefore;
	}

	public String getRecommenderPhone() {
		return recommenderPhone;
	}

	public void setRecommenderPhone(String recommenderPhone) {
		this.recommenderPhone = recommenderPhone;
	}

	public String getPremisesName() {
		return premisesName;
	}

	public void setPremisesName(String premisesName) {
		this.premisesName = premisesName;
	}

	public List<Long> getAuthorityPremisesIds() {
		return authorityPremisesIds;
	}

	public void setAuthorityPremisesIds(List<Long> authorityPremisesIds) {
		this.authorityPremisesIds = authorityPremisesIds;
	}
	
	
}
